package day04;
//for结构的演示 要素1初始值  要素2条件  要素3改变
public class ForDemo {
    public static void main(String[] args) {
        for(int num =1;num<=9;num++){
            System.out.println("1*"+num+"="+num*1);
        }
        for(int num =9;num>=1;num--){
            System.out.println(num+"*9="+num*9);
        }
        for(int num=1;num<=9;num+=2){
            System.out.println(num+"*9="+num*9);
        }

    }
}
